package com.weiyin.examination.activity;

import android.content.Intent;
import android.graphics.Paint;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.weiyin.examination.R;
import com.weiyin.examination.util.LayoutHelper;

public class CorrectActivity extends BaseActivity implements View.OnClickListener {
    private TextView correctSkip;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_correct);
        LayoutHelper layoutHelper = new LayoutHelper(this);
        layoutHelper.scaleView(findViewById(R.id.correct_layout));
        initView();
    }

    private void initView() {
        correctSkip = (TextView) findViewById(R.id.correctSkip);

        correctSkip.setOnClickListener(this);

        correctSkip.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.correctSkip:
                startActivity(new Intent(CorrectActivity.this, LoadingActivity.class));
                break;
        }

    }
}
